package com.grape.dp.state.service.context;


import com.grape.dp.state.service.OrderState;

/**
 * 描述:ContextState
 * @author: myx
 * @date: 2019/7/29 0029
 * Copyright © 2019-grape. All rights reserved.
 */
public class ContextState {
    private OrderState orderState;
    public ContextState(OrderState orderState) {
        this.orderState = orderState;
    }
    public void switchStateOrder() {
        orderState.orderService();
    }
}
